var count =0;
function change(){
    $('.lunbo-box').animate({left:-590*count},500)
    $('.circle').eq(count).addClass('circle-bg').siblings().removeClass('circle-bg');
};
function prevImg(){
    count = count == 0 ? 3 : count -1;
    change()
}

function nextImg(){
   count = count == 3 ? 0 : count + 1;
    change()
}


$('.prev').click(function(ev){
    prevImg()

})
$('.next').click(function(){
    nextImg()
})

